package com.uxhao.orderservice.client;

import com.uxhao.commonutils.entity.vo.UcenterMemberInfoCommonVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * order 调用登录模块的接口
 * @author uxhao
 * @date 2021/1/22 23:26
 */
@Component
@FeignClient(name ="service-ucenter", fallback = UcenterFileDegradeFeignClient.class)
public interface UcenterClient {

    @GetMapping("/educenter/ucenter/getInfoUc/{id}")
    public UcenterMemberInfoCommonVo getInfo(@PathVariable("id") String id);
}
